package com.school.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Users {

        private Long userId;
        private String nickName;
        private String loginName;
        private String passwordMd5;
        private String introduceSign;
        private String address;
        private Byte isDeleted;
        private Byte lockedFlag;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createTime;

    public Users() {
    }

    public Users(Long userId, String nickName, String loginName, String passwordMd5, String introduceSign, String address, Byte isDeleted, Byte lockedFlag, Date createTime) {
        this.userId = userId;
        this.nickName = nickName;
        this.loginName = loginName;
        this.passwordMd5 = passwordMd5;
        this.introduceSign = introduceSign;
        this.address = address;
        this.isDeleted = isDeleted;
        this.lockedFlag = lockedFlag;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return nickName
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * 设置
     * @param nickName
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 获取
     * @return loginName
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * 设置
     * @param loginName
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * 获取
     * @return passwordMd5
     */
    public String getPasswordMd5() {
        return passwordMd5;
    }

    /**
     * 设置
     * @param passwordMd5
     */
    public void setPasswordMd5(String passwordMd5) {
        this.passwordMd5 = passwordMd5;
    }

    /**
     * 获取
     * @return introduceSign
     */
    public String getIntroduceSign() {
        return introduceSign;
    }

    /**
     * 设置
     * @param introduceSign
     */
    public void setIntroduceSign(String introduceSign) {
        this.introduceSign = introduceSign;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return isDeleted
     */
    public Byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * 设置
     * @param isDeleted
     */
    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * 获取
     * @return lockedFlag
     */
    public Byte getLockedFlag() {
        return lockedFlag;
    }

    /**
     * 设置
     * @param lockedFlag
     */
    public void setLockedFlag(Byte lockedFlag) {
        this.lockedFlag = lockedFlag;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "Users{userId = " + userId + ", nickName = " + nickName + ", loginName = " + loginName + ", passwordMd5 = " + passwordMd5 + ", introduceSign = " + introduceSign + ", address = " + address + ", isDeleted = " + isDeleted + ", lockedFlag = " + lockedFlag + ", createTime = " + createTime + "}";
    }
}
